package com.pg.laboratory.screen;

import com.badlogic.gdx.scenes.scene2d.Stage;
import com.pg.free.screen.GameScreen;
import com.pg.free.util.Const;
import com.pg.free.util.Logger;
import com.pg.laboratory.actor.Runner;

public class AnimationScreen extends GameScreen {

	private Stage stage;
	private Runner runner;

	public AnimationScreen() {

	}

	@Override
	public void show() {
		stage = new Stage(Const.viewWidth, Const.viewHeight, false, this.batch);
		runner = new Runner();
		stage.addActor(runner);
	}

	@Override
	public void hide() {
		stage.dispose();
	}

	@Override
	public void render(float delta) {
		stage.act(delta);
		super.glClear();
		stage.draw();
	}
}
